{extend name="../../admin/view/main"}

{block name="content"}
<div id="TruckForm">
    <form action="{:sysuri()}" class='layui-form layui-card shadow' data-auto="true" method="post">
        <div class="layui-card-body padding-40 padding-bottom-10">

            <div class="layui-form-item label-required-prev">
                <span class="help-label"><b>绑定公证处</b></span>
                <select class='layui-select' name='notarial_office_id' lay-search>
                    {foreach $cates as $cate}
                    {eq name='cate.id' value='$vo.notarial_office_id|default=0'}
                    <option selected value='{$cate.id}'>{$cate.name}</option>
                    {else}
                    <option value='{$cate.id}'>{$cate.name}</option>
                    {/eq}{/foreach}
                </select>
            </div>


            <label class="layui-form-item block relative">
                <span class="help-label"><b>公证类型</b></span>
                <input class="layui-input" name="name" placeholder="请输入公证类型" value='{$vo.name|default=""}'>
            </label>

            <div class="hr-line-dashed margin-top-30"></div>
            {notempty name='vo.id'}<input name="id" type="hidden" value="{$vo.id}">{/notempty}

            <div class="layui-form-item text-center">
                <button class="layui-btn" type='submit'>保存数据</button>
            </div>
        </div>
    </form>

</div>
{/block}
